package com.springboot2.security.entity.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.util.Set;

@TableName("t_role")
@Data
public class RoleInfo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Set<WebResource> resources;
}
